import java.io.Serializable;
import java.rmi.RemoteException;
import java.util.ArrayList;
import java.rmi.Remote;

public interface InterfaceAgent extends Serializable, Remote
{	
	public ArrayList<InterfaceAgency> ListAgenciesOfAgents(ArrayList<InterfaceAgency> listAgencies) throws RemoteException;
	public String getService()  throws RemoteException;
	public void DestroyAgent(InterfaceAgent agent) throws RemoteException;
	public InterfaceAgency Next() throws RemoteException;
	void ExecuteAgent();
	public String getName() throws RemoteException;
}
